Use METIS ordering for superlu#218
Merged
Bruno02468 merged 9 commits intoMystranSolver:devfrom Apr 29, 2026
Merged
Conversation
Add submodules for METIS, patch METIS build system to work nicely with ours, patch superlu to use METIS when available.
pass the fortran superlu driver to use metis ordering if available.
Collaborator
|
Merging to add build fixes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the METIS library and it's dependencies, patches the METIS build system for compatibility, and patches SuperLU to use METIS if it's available.
METIS calculates a fill-in reducing permutation used by superlu for the factorization, on the current ~250k element benchmark problems this reduces ram usage from approx 9GB to 7GB and provides a significant reduction in solve time, on the order of a 40-80s reduction on a 200-250s total runtime. This should also make memory usage more consistent for similarly sized decks.